import 'package:appflutterhomeschool/view_model/my_app_view_model.dart';
import 'package:provider/provider.dart';

List<SingleChildCloneableWidget> providers = [
  ...independentServices,
  // ...dependentServices,
  ...uiConsumableProviders
];

/// 独立的model
List<SingleChildCloneableWidget> independentServices = [
  ChangeNotifierProvider<MyAppViewModel>(
    create: (context) => MyAppViewModel(),
  ),
];

List<SingleChildCloneableWidget> uiConsumableProviders = [];